<div id="edit_composite">
			<ul>
            <h3 style="text-align: center;"><:ecatalogue:add_component:></h3>
            [(#REM)  ]
            <?php
            // Articles select method according to config value 
            if (lire_config('ecatalogue/articles_select')!='enhanced') { ?>            
                <INCLURE{fond=prive/select_articles/simple,name=selected_articles,id_rubrique=#ID_RUBRIQUE}>                
            <?php } else { ?>            
                [(#SAISIE{selecteur_article, selected_articles,
				        label=<:ecatalogue:select_products:>,
				        multiple=1})]
            <?php } ?>
			</ul>
            <B_components>
<div class="liste-elements components">
<table class='spip liste'>
<caption><strong class="caption"><:ecatalogue:components_list:></strong></caption>
	<thead>
		<tr class='first_row'>
			<th class='id_article'>ID</th>
            <th class='statut'><:ecatalogue:status:></th>
            <th class='sku'><:ecatalogue:sku:></th>
			<th class='titre'><:ecatalogue:product_name:></th>
            <th class='logo_article'></th>
            <th><:ecatalogue:composite_article_quantity:></th>			
			<th class='price'><:ecatalogue:price:></th>            
            <th>&nbsp;</th>			
		</tr>
	</thead>
	<tbody>
	<BOUCLE_components(ECATALOGUE_COMPOSITES_ARTICLES){id_composite=#ENV{id_article}}>
        <BOUCLE_comp_article(ARTICLES spip_ecatalogue_products){id_article=#_components:ID_ARTICLE}{par titre}
            {id_article!=#ENV{id_article}}{statut IN publie,prepa,prop}>        
		<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
			<td class='id_article'>#ID_ARTICLE</td>
            <td class='statut'>[(#ID_ARTICLE|puce_changement_statut{#STATUT,#ID_RUBRIQUE,article})]</td>
            <td class='sku'><a href="#URL_ECRIRE{articles, id_article=#ID_ARTICLE}">#SKU</a></td>
			<td class='titre'><a href="#URL_ECRIRE{articles, id_article=#ID_ARTICLE}">#TITRE</a></td>
            <td class='logo_article'>[(#LOGO_ARTICLE|image_reduire{30})]</td>
            <td class="quantity">
                <input type="text" name="comp_arts[#_components:COMPTEUR_BOUCLE][quantity]" value="#_components:QUANTITY" style="width: 20px;" />
                <input type="hidden" name="comp_arts[#_components:COMPTEUR_BOUCLE][id_article]" value="#ID_ARTICLE" />
            </td>			
			<td class='prix'>#ECATALOGUE_PRODUCT_CURRENCY_SIGN{#ID_ARTICLE, sign_pre} 
                             #ECATALOGUE_PRODUCT_PRICE{#ID_ARTICLE}&nbsp; 
                             #ECATALOGUE_PRODUCT_CURRENCY_SIGN{#ID_ARTICLE, sign_after}
            </td>
            <td class='delete'><a href="javascript:;" class="delete_link" data-id_article="#ID_ARTICLE"><:ecatalogue:delete:></a></td>			
		</tr>        
	   </BOUCLE_comp_article>
	</BOUCLE_components>
	</tbody>
</table>
</div>
</B_components>
<div class="liste-elements components"><strong class="caption"><:ecatalogue:no_components:></strong></div>
<//B_components>
</div>